icon_theme = gtk_css_icon_theme_value_get_icon_theme (style->core->icon_theme);
flags = get_icon_lookup_flags (self, style);
if (preload)
- flags |= GTK_ICON_LOOKUP_LOAD_IN_THREAD;
+ flags |= GTK_ICON_LOOKUP_PRELOAD;
width = height = gtk_icon_helper_get_size (self);
gtk_icon_theme_unlock (self);
- if (flags & GTK_ICON_LOOKUP_LOAD_IN_THREAD)
+ if (flags & GTK_ICON_LOOKUP_PRELOAD)
{
gboolean has_texture = FALSE;
* when symbolic icon names are given
* @GTK_ICON_LOOKUP_FORCE_SYMBOLIC: Try to always load symbolic icons, even
* when regular icon names are given
- * @GTK_ICON_LOOKUP_LOAD_IN_THREAD: Starts loading the texture in the background
+ * @GTK_ICON_LOOKUP_PREALOAD: Starts loading the texture in the background
* so it is ready when later needed.
*
* Used to specify options for gtk_icon_theme_lookup_icon()
*/
typedef enum
{
- GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 0,
- GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 1,
- GTK_ICON_LOOKUP_LOAD_IN_THREAD = 1 << 2,
+ GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 0,
+ GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 1,
+ GTK_ICON_LOOKUP_PRELOAD = 1 << 2,
} GtkIconLookupFlags;
/**